package cn.jingyuan.swan.cloud.mapping;

/**
 * Api Model
 */
public class ApiModel {

    /** 项目 */
    private String project;

    /** 项目路径 */
    private String contextPath;

    /** 资源编码 */
    private String apiCode;

    /** 资源路径 */
    private String apiPath;

    /** 资源名称 */
    private String apiName;

    /** 资源描述 */
    private String apiDesc;

    /** 请求方式 */
    private String httpMethods;

    /** 响应类型 */
    private String contentTypes;

    /** 类名 */
    private String className;

    /** 方法名 */
    private String classMethodName;

    private String md5;

    /** 安全认证(默认：1)：0-否，1-是 */
    private String isAuth;

    public String getProject() {
        return project;
    }

    public ApiModel setProject(String project) {
        this.project = project;
        return this;
    }

    public String getContextPath() {
        return contextPath;
    }

    public ApiModel setContextPath(String contextPath) {
        this.contextPath = contextPath;
        return this;
    }

    public String getApiCode() {
        return apiCode;
    }

    public ApiModel setApiCode(String apiCode) {
        this.apiCode = apiCode;
        return this;
    }

    public String getApiPath() {
        return apiPath;
    }

    public ApiModel setApiPath(String apiPath) {
        this.apiPath = apiPath;
        return this;
    }

    public String getApiName() {
        return apiName;
    }

    public ApiModel setApiName(String apiName) {
        this.apiName = apiName;
        return this;
    }

    public String getApiDesc() {
        return apiDesc;
    }

    public ApiModel setApiDesc(String apiDesc) {
        this.apiDesc = apiDesc;
        return this;
    }

    public String getHttpMethods() {
        return httpMethods;
    }

    public ApiModel setHttpMethods(String httpMethods) {
        this.httpMethods = httpMethods;
        return this;
    }

    public String getContentTypes() {
        return contentTypes;
    }

    public ApiModel setContentTypes(String contentTypes) {
        this.contentTypes = contentTypes;
        return this;
    }

    public String getClassName() {
        return className;
    }

    public ApiModel setClassName(String className) {
        this.className = className;
        return this;
    }

    public String getClassMethodName() {
        return classMethodName;
    }

    public ApiModel setClassMethodName(String classMethodName) {
        this.classMethodName = classMethodName;
        return this;
    }

    public String getMd5() {
        return md5;
    }

    public ApiModel setMd5(String md5) {
        this.md5 = md5;
        return this;
    }

    public String getIsAuth() {
        return isAuth;
    }

    public ApiModel setIsAuth(String isAuth) {
        this.isAuth = isAuth;
        return this;
    }

}
